package com.foreveross.proxyip.infra.utils;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 */
public class ThreadPoolUtil {
	
	private static ExecutorService executor = Executors.newFixedThreadPool(Runtime.getRuntime().availableProcessors() * 5 + 2);


	public static void asynRun(Runnable command) {
		executor.execute(command);
	}
}
